Conversation
Co-authored-by: Tuomas Borman <tvborm@utu.fi>
Member
Author
antagomir
commented
Feb 20, 2026
Member
Author
antagomir
left a comment
There was a problem hiding this comment.
Seems good to me as is.
Comment on lines
+185
to
+208
| jointRPCAuniversal <- function(x, experiments = NULL, | ||
| transform = c("rclr", "none"), | ||
| optspace.tol = 1e-5, | ||
| center = TRUE, | ||
| scale = FALSE, | ||
| ...) { | ||
| transform <- match.arg(transform) | ||
|
|
||
| assay_names_used <- NULL | ||
|
|
||
| if (inherits(x, "MultiAssayExperiment")) { | ||
| mae <- .extract_mae_tables(x, experiments) | ||
| tables <- mae$tables | ||
| experiments <- mae$experiments | ||
| assay_names_used <- mae$assay_names_used | ||
| } else if (inherits(x, "SummarizedExperiment")) { | ||
| tables <- list(assay(x)) | ||
| anm <- assayNames(x) | ||
| nm <- if (length(anm) && !is.na(anm[1])) anm[1] else "assay1" | ||
| names(tables) <- nm | ||
| } else if (is.list(x) && all(vapply(x, is.matrix, logical(1)))) { | ||
| tables <- x | ||
| if (is.null(names(tables))) { | ||
| names(tables) <- paste0("view", seq_along(tables)) |
Contributor
There was a problem hiding this comment.
It still lacks usage of generic functions, for instance.
Have @raivo-otus had time to check this? I could also dedicate time to this this week so that we get this done.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We should proceed towards merging joint-rpca to devel.
Ideally we should get this included in the next Bioc release, there is still time.